package com.ruoyi.book.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 管理员对象 badmin
 * 
 * @author ruoyi
 * @date 2023-05-09
 */
public class Badmin extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private Long id;

    /** 账户 */
    @Excel(name = "账户")
    private String uname;

    /** 密码 */
    private String upass;

    /** 等级 */
    @Excel(name = "等级")
    private Integer level;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUname(String uname) 
    {
        this.uname = uname;
    }

    public String getUname() 
    {
        return uname;
    }
    public void setUpass(String upass) 
    {
        this.upass = upass;
    }

    public String getUpass() 
    {
        return upass;
    }
    public void setLevel(Integer level) 
    {
        this.level = level;
    }

    public Integer getLevel() 
    {
        return level;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uname", getUname())
            .append("upass", getUpass())
            .append("level", getLevel())
            .toString();
    }
}
